package com.zxl.always.on.display.track;

import android.content.Context;

/**
 * Created by Administrator on 2016/8/29.
 */
public class StatisticsConstant {

    public static class Ads {

        public static void uploadEvent(Context context, StatisticsType type, String value) {
            type.upload(context, Event.ADS_EVENT, value);
        }

        public static void uploadInfoError(Context context, StatisticsType type, String value) {
            type.upload(context, Event.ADS_INFO_ERROR, value);
        }

        public static void uploadError(Context context, StatisticsType type, String value) {
            type.upload(context, Event.ADS_ERROR, value);
        }

        public static void uploaWapsSuccess(Context context, StatisticsType type, String value) {
            type.upload(context, Event.ADS_WAPS_SUCCESS, value);
        }

        public static void uploaWapsError(Context context, StatisticsType type, String value) {
            type.upload(context, Event.ADS_WAPS_ERROR, value);
        }

        public static void uploaWapsClick(Context context, StatisticsType type, String value) {
            type.upload(context, Event.ADS_WAPS_CLICK, value);
        }

        public static void uploaWapsDownload(Context context, StatisticsType type, String value) {
            type.upload(context, Event.ADS_WAPS_DOWNLOAD, value);
        }
    }

    public interface Event {

        String ADS_WAPS_DOWNLOAD = "waps_download";

        String ADS_WAPS_CLICK = "waps_click";

        String ADS_WAPS_ERROR = "waps_error";

        String ADS_WAPS_SUCCESS = "waps_success";

        String ADS_EVENT = "event";

        String ADS_ERROR = "error";

        String CLICK_RINGTONE = "click_ringtone";

        String ADS_INFO_ERROR = "info_error";

        String CLICK_HOME_TAB = "click_tab";

        String SCORE_GO_MARKET = "score_go_market";
        String SCORE_GO_FEEDBACK = "score_go_feedback";
        String SCORE_CANCEL_FEEDBACK = "score_cancel_feedback";
        String SCORE_CANCEL_MARKET = "score_cancel_market";
        String MENU = "menu";
        String SCORE = "score";

        String WALLPAPER = "wallpaper";
        String SHOW = "show";
        String CLICK = "click";
        String DOWNLOAD = "download";
        String START_ALERT = "start_alert";
        String SWITCH_STATUS = "switch_status";
        String TIMER_SWITCH_STATUS = "timer_switch_status";

        String NOTIFICATION_STATUS = "notification_status";
        String TYPE = "type";
        String NUMBER = "number";
        String NET_SUCCESS = "net_success";
        String CLICK_NET = "click_net";
        String CLICK_RETRY = "click_retry";
        String CLICK_DOWNLOAD = "click_download";
        String CLICK_FEEDBACK = "click_feedback";
        String DOWNLOAD_ERROR = "download_error";
        String DOWNLOAD_SUCCESS = "download_success";
        String DELETE = "delete";
        String SHARE = "share";
        String STATUS = "status";
        String PLAY = "play";
        String STOP = "stop";
        String PLAY_ERROR = "play_error";
        String CROP = "crop";
        String APPLY = "apply";
        String SETTING_PAGE = "setting_page";
        String SEARCH = "search";
        String SEARCH_HOT = "search_hot";
        String SEARCH_ERROR = "search_error";

        String ERROR = "error";
        String CLOSE = "close";
        String CLOCK_STYLE = "clock_style";
        String TIMER_DURATION = "timer_duration";
        String CLOCK_PALETTE = "clock_palette";
        String CURRENT_STYLE = "current_style";
        String CLOCK_BG = "clock_bg";
        String CANCEL = "cancel";
    }
}
